ProfilePress\Core\ContentProtection\ElementorRestriction S

Total Complexity 35
Dependencies 5
Dependents 1
Total lines 264
Lines of code 176
Logical lines of code 78
Comment lines 30
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
can_access()
A
50 17 25
register_controls()
A
37 5 92
maybe_render_restricted_message()
S
55 5 20
should_render()
S
70 3 6
__construct()
S
58 1 15
get_instance()
S
69 2 7
register_section()
S
68 1 7
is_alternate_message_active()
S
74 1 4